package com.edu.service.impl;

import com.edu.bean.Admin;
import com.edu.mapper.AdminMapper;
import com.edu.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminServiceImpl implements AdminService {

    @Resource
    private AdminMapper adminMapper;

    @Override
    public Admin getAdminByAcc(String adminAcc) {
        return adminMapper.selectByAcc(adminAcc);
    }
}
